package com.demo.jvm.structure.constant;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * CONSTANT_Integer_info {
 *     u1 tag;
 *     u4 bytes;
 * }
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CONSTANT_Integer_info extends CONSTANT_info {
    private Integer value;

    public CONSTANT_Integer_info(byte tag, int tableIndex, Integer value) {
        super(tag, tableIndex);
        this.value = value;
    }
}
